/*
 * Created on Mar 1, 2004
 *
 * To change the template for this generated file go to
 * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
 */
package ModuleBuilder.model;

import java.io.*;
import javax.swing.tree.*;


/**
 * @author Milton  Soong
 *
 * To change the template for this generated type comment go to
 * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
 */
public class ScenarioModel implements Serializable {
	PictureCollectionModel topFigurePix, sideFigurePix, mapTilePix;
	GameParameterModel gameParamModel;
	MapModel mapModel;
	DefaultMutableTreeNode treeRoot;	// only store the root node
	
	
	/**
	 * @return
	 */
	public GameParameterModel getGameParamModel() {
		return gameParamModel;
	}

	/**
	 * @return
	 */
	public MapModel getMapModel() {
		return mapModel;
	}

	/**
	 * @return
	 */
	public PictureCollectionModel getMapTilePix() {
		return mapTilePix;
	}

	/**
	 * @return
	 */
	public PictureCollectionModel getSideFigurePix() {
		return sideFigurePix;
	}

	/**
	 * @return
	 */
	public PictureCollectionModel getTopFigurePix() {
		return topFigurePix;
	}

	/**
	 * @param model
	 */
	public void setGameParamModel(GameParameterModel model) {
		gameParamModel = model;
	}

	/**
	 * @param model
	 */
	public void setMapModel(MapModel model) {
		mapModel = model;
	}

	/**
	 * @param model
	 */
	public void setMapTilePix(PictureCollectionModel model) {
		mapTilePix = model;
	}

	/**
	 * @param model
	 */
	public void setSideFigurePix(PictureCollectionModel model) {
		sideFigurePix = model;
	}

	/**
	 * @param model
	 */
	public void setTopFigurePix(PictureCollectionModel model) {
		topFigurePix = model;
	}

	/**
	 * @return
	 */
	public DefaultMutableTreeNode getTreeRoot() {
		return treeRoot;
	}

	/**
	 * @param node
	 */
	public void setTreeRoot(DefaultMutableTreeNode node) {
		treeRoot = node;
	}

}
